//
//  MyActionSheetView.h
//  Qianbancaifu
//
//  Created by SYLH on 16/5/19.
//  Copyright © 2016年 SYLH. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void (^ClickActionIndexBlock)(NSInteger index);

typedef void (^ActionCancalBlock)();

@interface MyActionSheetView : UIView

@property (strong, nonatomic) ClickActionIndexBlock clickActionIndexBlock;

@property (strong, nonatomic) ActionCancalBlock actionCancalBlock;

@property (strong, nonatomic) UIColor * cancelColor;

-(instancetype)initWithFrame:(CGRect)frame withTitleArray:(NSArray *)titleArray
              withColorArray:(NSArray *)colorArray
                 actionBlock:(ClickActionIndexBlock)actionBlock
                 cancalBlock:(ActionCancalBlock)cancalBlock;

@end
